home *** CD-ROM | disk | FTP | other *** search
/ United Public Domain Gold 2 / United Public Domain Gold 2.iso / utilities / pu086.dms / pu086.adf / bin / NorthC.doc < prev    next >
Text File  |  1990-12-04  |  2KB  |  61 lines

  1.  
  2.   (c) 1990 S.Hawtin.
  3.   Permission is granted to copy this file provided that:
  4.    1) It is not used for commercial gain
  5.    2) This notice is included in all copies
  6.    3) Altered copies are marked as such.
  7.  
  8.   No liability is accepted for the contents of the file.
  9.  
  10.   NorthC.doc        within        NorthC
  11.  
  12. NorthC
  13.  
  14.     NorthC [-Ddefine][-Uundef][-Iinclude][-P][-C]
  15.            [-Ooutput][-V][source]
  16.  
  17.   The "NorthC" command compiles a 'C' program into code that the "A68K" 
  18. assembler can deal with.  The program accepts the following options,
  19.  
  20.     -D<define>
  21.  
  22.   If <define> is of the form "FOO=56" then the compiler will define a 
  23. preprocessor macro "FOO" with the value 56.  If the <define> is of the 
  24. form "FOO" then the "FOO" macro will be defined as 1.
  25.  
  26.     -U<undef>
  27.  
  28.   This will undefine a previously defined preprocessor macro.
  29.  
  30.     -I<include>
  31.  
  32.   This will make the compiler look in the <include> directory for any 
  33. include files it cannot find in the local directory.
  34.  
  35.     -P
  36.  
  37.   This will turn on profiling, this causes the compiler to insert some 
  38. code at the start of each routine to count the number of times the 
  39. routine is called.  This is untested.
  40.  
  41.     -C
  42.  
  43.   This causes all static data and variables to be loaded into chip memory 
  44. when the program is run.
  45.  
  46.     -O<output>
  47.  
  48.   Normally the program works out the output file name from the input file 
  49. name, this option overides the default causing the output file to be 
  50. created as <output>.
  51.  
  52.     -V
  53.  
  54.   Print out some information about the origins of the compiler, the date this 
  55. version was compiled and so on.
  56.  
  57.     [source]
  58.  
  59.   The source file name.
  60.  
  61.